package com.pkk.penguin.frame.know.java.driven.beanleftcycle.laboratory;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 初始化操作的实验测试
 * @author: peikunkun
 * @create: 2020-08-13 10:30
 **/
@Slf4j
@Configuration
public class PostConstruct {

  public PostConstruct() {
    log.info("【实验室】-【PostConstruct】-构造器执行了");
  }


  @javax.annotation.PostConstruct
  public void postConstruct1() {
    log.info("[PostConstruct]-【PostConstruct第一个】-执行了");
  }


  @javax.annotation.PostConstruct
  public void postConstruct2() {
    log.info("【PostConstruct第二个】-执行了");
  }

}
